<?php
// This is the default controller.  Any
class IndexController extends Veneer_Controller_Module
{
	function init()
	{
		$this->_moduleName = 'default';
		$this->_module_id = 0;
		parent::init();
		if( isset($this->_veneer_parms['module'] ))
			if( $this->_veneer_parms['module'] != $this->_moduleName)
				$this->_redirect('/');	// Or it could be sent to error - module not found.
	}

    public function indexAction()	//front page or splash page  - $registry['NoCache']
    {
		// 		if($this->_request->getActionName() == 'test2')
		//			$this->_forward('test', 'index','test',array('ergf'=>'wr','erte'=>'werwer4t'));
		// if controller is module is index, and action is index, this is frontpage
    }

}

